package com.joplus.housekeeper.bean;

import java.util.List;

/**
 * author： ccm
 * time： 2017/5/22.
 * description：
 */

public class ListDegreeBean {

    /**
     * code : 2000
     * data : {"hospitals":[{"sid":"994d5f3a8fd34aeeab87f8d9e864ecba","name":"123","createdDatetime":1494989590000,"updatedDatetime":1494989590000,"sortNumber":null},{"sid":"9d90cb5df4bd444082d80b9b08bfa2c1","name":"666","createdDatetime":1495085141000,"updatedDatetime":1495085141000,"sortNumber":null},{"sid":"1","name":"三甲2","createdDatetime":1494913368000,"updatedDatetime":1494989254000,"sortNumber":1}]}
     * message :
     */

    private String code;
    private DataBean data;
    private String message;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        /**
         * sid : 994d5f3a8fd34aeeab87f8d9e864ecba
         * name : 123
         * createdDatetime : 1494989590000
         * updatedDatetime : 1494989590000
         * sortNumber : null
         */

        private List<HospitalsBean> hospitals;

        public List<HospitalsBean> getHospitals() {
            return hospitals;
        }

        public void setHospitals(List<HospitalsBean> hospitals) {
            this.hospitals = hospitals;
        }

        public static class HospitalsBean {
            private String sid;
            private String name;
            private long createdDatetime;
            private long updatedDatetime;
            private Object sortNumber;

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public long getCreatedDatetime() {
                return createdDatetime;
            }

            public void setCreatedDatetime(long createdDatetime) {
                this.createdDatetime = createdDatetime;
            }

            public long getUpdatedDatetime() {
                return updatedDatetime;
            }

            public void setUpdatedDatetime(long updatedDatetime) {
                this.updatedDatetime = updatedDatetime;
            }

            public Object getSortNumber() {
                return sortNumber;
            }

            public void setSortNumber(Object sortNumber) {
                this.sortNumber = sortNumber;
            }
        }
    }
}
